-
Notifications
You must be signed in to change notification settings - Fork 212
Updated the learn2learn "image_classification_imagenette_mini" example #1383
Conversation
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
for more information, see https://pre-commit.ci
Codecov Report
@@ Coverage Diff @@
## master #1383 +/- ##
==========================================
+ Coverage 90.38% 92.90% +2.51%
==========================================
Files 286 286
Lines 12861 12861
==========================================
+ Hits 11625 11949 +324
+ Misses 1236 912 -324
Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
Hi, @uakarsh - Thank you for the PR, I appreciate you taking a look at it. Apologies for the delay in review. Would you mind converting this into a script instead? We usually prefer having python scripts in A few points:
Also, just FYI: We made a few changes to the |
Sure, I can convert it into a script For your questions:
Definitely, it depends upon Flash's version of download, but when I just did |
Hey @uakarsh instead of creating a script from scratch, could you just apply your changes to the script here: https://github.com/Lightning-AI/lightning-flash/blob/master/flash_examples/integrations/learn2learn/image_classification_imagenette_mini.py Happy for you to drop the Hope that helps 😃 |
Hey, @uakarsh - Any updates on this? :) Let us know if you need any help. |
Would surely do it today. Got a bit engaged in my own work and about using PyTorch Lightning with Speech Recognition. |
Update: Have updated the script (along with instructions for downloading the dataset) and removed the notebook. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice attention to detail, @uakarsh - thanks for fixing the example script. We appreciate it!
I'm only wondering if this will fail the CI since we expect the user to download the dataset. I'll keep an eye on the CI, and add a custom download function until learnables/learn2learn#310 is fixed.
Also, can you add an entry to the CHANGELOG? If you are occupied today, I can do it once the CI is green.
Thanks! 🎉
flash_examples/integrations/learn2learn/image_classification_imagenette_mini.py
Outdated
Show resolved
Hide resolved
flash_examples/integrations/learn2learn/image_classification_imagenette_mini.py
Outdated
Show resolved
Hide resolved
Sure, I have added the entry for the updation in CHANGELOG.md The change is here Is there any need of creating a PR for the same updation, i.e in CHANGELOG.md ? |
flash_examples/integrations/learn2learn/image_classification_imagenette_mini.py
Outdated
Show resolved
Hide resolved
…magenette_mini.py
Failing tests are irrelevant to this PR. cc: @ethanwharris - can you please merge this whenever you are back? @uakarsh - Apologies for the delay in getting this merged. The CI was failing for a couple of weeks, and we had to prioritize fixing it! As always, we appreciate your contribution. 🎉 Also, the CHANGELOG entry can just go in this PR! I've pushed the entry from your commit to this branch, hope that's fine! :) |
Hi @krshrimali, thanks for merging this. This is my first contribution to any issue on Github, so thanks for giving me this chance and looking forward to helping/resolving more issues. |
It's always a memory, the first contribution! I still remember the exact time when I got my first PR merged, wish you the best! If you ever find an issue you find exciting to work upon, feel free to ping me, and I'll be happy to help wherever I can 🎉 ⚡ |
What does this PR do?
There were some problems in the downloading of the dataset as well as defining the
ImageClassificationInputTransform
, for theImageClassificationData
, so I have remade the tutorial for easy integration oflearn2learn
withflash
Fixes #1376
Before submitting
PR review
Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.
Did you have fun?
Definitely
Make sure you had fun coding 🙃